package com.bsoft.jcxxjs.dao.mybatis;

import com.bsoft.jcxxjs.model.TManagementUnit;
import com.bsoft.jcxxjs.model.TManagementUnitExample;
import java.math.BigDecimal;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface TManagementUnitMapper {
    int countByExample(TManagementUnitExample example);

    int deleteByExample(TManagementUnitExample example);

    int deleteByPrimaryKey(BigDecimal id);

    int insert(TManagementUnit record);

    int insertSelective(TManagementUnit record);

    List<TManagementUnit> selectByExample(TManagementUnitExample example);

    TManagementUnit selectByPrimaryKey(BigDecimal id);

    int updateByExampleSelective(@Param("record") TManagementUnit record, @Param("example") TManagementUnitExample example);

    int updateByExample(@Param("record") TManagementUnit record, @Param("example") TManagementUnitExample example);

    int updateByPrimaryKeySelective(TManagementUnit record);

    int updateByPrimaryKey(TManagementUnit record);
}